/// 
/// Author: Jeff Liu
/// Date: 2021-08-26 11:02:59
/// LastEditTime: 2023-05-15 17:08:03
/// LastEditors: Jeff Liu
/// Description: 
/// FilePath: /HCCBJ/src/HCC/Interface/RestHandler.cls
/// Jeff.liu@intersytems.com
/// 
Class HCC.Interface.RestHandler Extends %CSP.REST
{

Parameter HandleCorsRequest = 1;

Parameter CONTENTTYPE = "application/json";

Parameter CONVERTINPUTSTREAM = 1;

Parameter CHARSET = "utf-8";

XData UrlMap
{
<Routes>
 		<Map Prefix="/pubsub" Forward="HCC.Interface.PubSub.disp"/>
    <Map Prefix="/setting" Forward="HCC.Interface.Setting.disp"/>
    <Map Prefix="/ws" Forward="HCC.Interface.WS.disp"/>
    <Map Prefix="/monitor" Forward="HCC.Interface.Monitor.disp"/>
    <Map Prefix="/transform" Forward="HCC.Interface.Transform.disp"/>
  </Routes>
}

}
